import Request from '@/apis/request.js'
const baseUrl = '/user'
// 登录
export const postLoginApi = (params) => {
  return Request.requestJson(Request.POST, baseUrl + '/login', params)
}
// 注册
export const postRegisterApi = (params) => {
  return Request.requestJson(Request.POST, baseUrl + '/reg', params)
}
